package com.smallkk.girl;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author song
 * @date 2017/12/2 1:10
 */
public interface GirlRepository extends JpaRepository<Girl, Integer> {
    /**
     * 通过年龄来查询
     *
     * @param age
     * @return
     */
    public List<Girl> findByAge(Integer age);
}
